package com.aloda.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OperationLog {
    //操作id
    private Long id;
    //操作者id
    private Long userId;
    //操作者用户名
    private String username;
    //操作简单描述
    private String description;
    //操作具体时间
    private LocalDateTime time;
    //操作类名
    private String className;
    //操作方法名
    private String methodName;
    //操作详细字段
    private String methodParams;
    //操作返回值
    private String returnValue;
    //操作耗时
    private long costTime;
    //日志类型
    private int sort;
}
